package com.agil.photoalbum.db.entities;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Picture implements java.io.Serializable {

	private long pictureId;
	private String pictureName;
	private String pictureDescription;
	private String picturePath;
	private Date pictureTimestamp;
	private Set<Category> categories = new HashSet<Category>(0);
	private Set<Comment> comments = new HashSet<Comment>(0);

	public Picture() {
	}

	public Picture(long pictureId, String pictureName,
			String pictureDescription, String picturePath) {
		this.pictureId = pictureId;
		this.pictureName = pictureName;
		this.pictureDescription = pictureDescription;
		this.picturePath = picturePath;
	}

	public Picture(long pictureId, String pictureName,
			String pictureDescription, String picturePath, Date pictureTimestamp,
			Set<Category> categorieses, Set<Comment> commentses) {
		this.pictureId = pictureId;
		this.pictureName = pictureName;
		this.pictureDescription = pictureDescription;
		this.picturePath = picturePath;
		this.pictureTimestamp = pictureTimestamp;
		this.categories = categorieses;
		this.comments = commentses;
	}

	public long getPictureId() {
		return this.pictureId;
	}

	public void setPictureId(long pictureId) {
		this.pictureId = pictureId;
	}

	public String getPictureName() {
		return this.pictureName;
	}

	public void setPictureName(String pictureName) {
		this.pictureName = pictureName;
	}

	public String getPictureDescription() {
		return this.pictureDescription;
	}

	public void setPictureDescription(String pictureDescription) {
		this.pictureDescription = pictureDescription;
	}

	public String getPicturePath() {
		return this.picturePath;
	}

	public void setPicturePath(String picturePath) {
		this.picturePath = picturePath;
	}

	public Set<Category> getCategories() {
		return this.categories;
	}

	public void setCategories(Set<Category> categorieses) {
		this.categories = categorieses;
	}

	public Set<Comment> getComments() {
		return this.comments;
	}

	public void setComments(Set<Comment> commentses) {
		this.comments = commentses;
	}

	public Date getPictureTimestamp() {
		return pictureTimestamp;
	}

	public void setPictureTimestamp(Date pictureTimestamp) {
		this.pictureTimestamp = pictureTimestamp;
	}

}
